/*
 * 未采购过的客户列表下拉列表
 * 参数   交易码：trancode=OrderChecked
 * 
 */

package org.ccams.tran;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.sf.json.JSONObject;

import org.ccams.domain.TSalesordersHelp;
import org.ccams.util.ConvertUtil;

public class TranOrderChecked extends AbstractJsonTran {

	@SuppressWarnings("unchecked")	
	public void buildJSONObject(Map model, JSONObject json,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		List<TSalesordersHelp> list = getCcamsService().getTsalesordershDao().getTSalesordersHByOrderChecked();
		json.putAll(ConvertUtil.generate(list));
	}
	
}
